.popup{
    height: 100vh;
    background-color: rgba($color-black, .8);
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    &:target{
        opacity: 1;
        visibility: visible;
    }
    &__content{
        @include absCenter;
        width: 75%;
        height: 50rem;
        background-color: $color-white;
        box-shadow: 0 2rem 4rem rgba($color-black, .2);
        border-radius: 3px;
        display: table;
        overflow: hidden;
    }
    &__left{
        width: 33.333333%;
        display: table-cell;
    }
    &__right{
        width: 66.666667%;
        height: 50rem;
        display: table-cell;
        vertical-align: middle;
        padding: 3rem 5rem;
    }
    &__img{
        display: block;
        width: 100%;
        height: 25rem;
        object-fit: cover;
    }
    &__text{
        font-size: 1.4rem;
        margin-bottom: 4rem;

    }
    &__close{
        &:link,
        &:visited{
            position: absolute;
            right: 3rem;
            top: 3rem;
            text-decoration: none;
            display: inline-block;
            transition: all .3s;
            font-size: 2.4rem;
        }
        &:hover{
            transform: rotateZ(90deg);
            transform-origin: center;
        }
    }
}
